﻿#pragma once
#include "StorePoint.h"

// DlgTraySpacing 对话框

class DlgTraySpacing : public CDialogEx
{
	DECLARE_DYNAMIC(DlgTraySpacing)
	DECLARE_MESSAGE_MAP()

// Construction
public:
	DlgTraySpacing(StorePoint* psp, CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DlgTraySpacing();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_SETSPACING };
#endif

// Properties
	StorePoint* m_psp;	// 端点
	// 垛间距，包括托深度
	int m_nSpacing;
	// 每垛层数
	int m_nZNumber;

// Methods

// Overwrite
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
public:

// Messages
public:
	afx_msg void OnBnClickedOk();
	// 垛数
	int m_nXNumber;
	// 总托数
	int m_nTotal;
	// 存货长度
	int m_nLength;
	afx_msg void OnKillfocusEdit1();
};
